N4 supports ANSI standard 418 RAILCONSIST message, release 00 & version 4020.
This Inbound Rail Consist Message (ANSI 418) permits the transfer of data from a rail operator to a terminal operator. The rail operator will send the following details to the terminal operator:
Train visit details
Attached railcar details
Loaded container details,including the Bill of Lading attached to the container
Attached equipment details
Hazard information, if any, for the individual containers
This specification provides the definition of the ANSI 418 Inbound Rail Consist message to be used in Electronic Data Interchange (EDI) between a rail operator and the terminal operator in the marine/rail domain. This message is used to inform the terminal operator about what containers are shipped in to the terminal via rail. This can be typically sent after planning and loading the containers to the train and when the rail road is about to move them, that is, before the train arrives at the terminal.
The following sections of this document explain how ANSI 418 Inbound Rail Consist message is handled in N4 and the scope of its implementation. This message is basically used for the following operations carried out by the terminal/rail operators:
The rail operator will send the inbound train visit details to the terminal operator once the planning of the containers is completed. That is, before the train arrives at the facility.
The terminal operator will plan for the train visit that is sent by the rail operator.
The terminal operator will also plan for the containers received through the EDI message.
418 Inbound Supported Segments
The following table illustrates the segments of ANSI standard RAILCONSIST 00 4020 (418) message and the scope of each segment in N4.
S. No. # |
Segment ID |
Supported Qualifier |
Description |
Supported in N4? |
---|---|---|---|---|
1 |
ST |
|
Transaction Set Header |
Supported |
1 |
BAX |
|
Beginning Segment for Advance Consist and Transportation Automatic Equipment |
Supported |
2 |
W1 |
|
Block Identification |
Not Supported |
3 |
W2 |
RR |
Equipment Identification (Railcar) |
Supported |
4 |
W2 |
CN |
Equipment Identification (Container) |
Supported |
5 |
W3 |
|
Consignee Information |
Supported |
6 |
IMA |
|
Interchange Move Authority |
Not Supported |
7 |
W4 |
|
Consignee Information |
Supported |
8 |
W5 |
|
Route Information |
Supported |
9 |
PS |
|
Protective Service Instructions |
Supported |
10 |
REF |
|
Reference Identification |
Supported |
11 |
LS |
|
Loop Header |
Not Supported |
12 |
LH1 |
|
Hazardous Identification Information |
Supported |
13 |
LH2 |
|
Hazardous Classification Information |
Supported |
14 |
LH3 |
|
Hazardous Material Shipping Name |
Supported |
15 |
LFH |
|
Freeform Hazardous Material Information |
Not Supported |
16 |
LEP |
|
EPA Required Data |
Not Supported |
17 |
LH4 |
|
Canadian Dangerous Requirements |
Not Supported |
18 |
LHT |
|
Trans-border Hazardous Requirements |
Not Supported |
19 |
LHR |
|
Hazardous Material Identifying Reference Numbers |
Not Supported |
20 |
PER |
|
Administrative Communications Contact |
Not Supported |
21 |
N1 |
|
Name |
Not Supported |
22 |
N3 |
|
Address Information |
Not Supported |
23 |
N4 |
|
Geographic Location |
Not Supported |
24 |
PER |
|
Administrative Communications Contact |
Not Supported |
25 |
LE |
|
Loop Trailer |
Not Supported |
26 |
PER |
|
Administrative Communications Contact |
Not Supported |
27 |
LH2 |
|
Hazardous Classification Information |
Not Supported |
28 |
LHR |
|
Hazardous Material Identifying Reference Numbers |
Not Supported |
29 |
SE |
|
Transaction Set Trailer |
Supported |
418 Rail Consist Inbound - Message Functions
As per ANSI standard, the Rail Consist Outbound message has various message function codes in the BAX (in the 13th element) segment. But, in the Inbound message, N4 only supports the following message function i.e. Original (00), Add (02) and Replace (05).
For information on the EDI message functions supported by Rail Consist, see Supported EDI message functions (on page 1).
The rail operator will send the EDI as per ANSI standard format. In N4, the inbound rail consist map is a way of mapping the data send through an EDI file in to the application (to store as persistent data).
N4 serves a built-in map for converting the ANSI 418 Inbound EDI message standard in to Navis standard rail consist xml file using the Navis standard schema file i.e. railconsist.xsd.
Following are the related files that can be downloaded as part of N4 application:
ansi418_00_4020.mgt - GoXml map
418.dic - ANSI standard dictionary
railconsist.xsd - Navis standard xml schema
How to Configure N4 for Inbound Rail Consist
N4 needs to be set up to process an inbound Rail Consist message.
To process an inbound Rail Consist message:
Create an inbound train visit with the Direction as Inbound Only Train.
Update the visit phase to Inbound.
Create the Message Type and Message Map for the Inbound Railconsist.
Create the Mailbox and Session for the Inbound Railconsist.
Load and post the Inbound Railconsist EDI file.
To load an inbound rail consist message:
Go to Administration> EDI> EDI Load. A new form will be displayed.
Select the desired railconsist session in the EDI Session drop-down.
Browse the desired EDI file to post in the application.
Select the Post Immediate check box to post the file immediately after loading the file.
Click on the Load button to load the file. The progress bar will show the following message "Edi Job Completed".
Click OK.
Verify the batch for the status of the file posted.
In a ideal scenario, all the processes should show the status as COMPLETE. If there are any errors, then rectify and repost the file.
ANSI 418 Inbound Rail Consist EDI with message function as A
ISA*00* *00* *ZZ* *ZZ* *070607*0310*U*00402*000190806*0*P*>~
GS*SO*APL*APL*20070607*0310*211621*X*004020~
ST*418*130001~
BAX*FCY111*T*139*040511*1328*SPTRLHA307**IN*040511*2115*02~
W1*APL~
W2*RCA*11*RR*L*135BNSF*****1*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*RCA*22*RR*L*135BNSF*****2*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*RCA*33*RR*L*135BNSF*****3*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*CTRA*11*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRA*22*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*RCA*44*RR*L*135BNSF*****4*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*CTRA*33*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRA*44*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
PER*HM*MAERSK INC*TE*3523233500~
SE*79*130001~
GE*5*211621~
IEA*1*000190806~
ANSI 418 Inbound Rail Consist EDI with message function as X for a Replace Railconsist
ISA*00* *00* *ZZ* *ZZ* *070607*0310*U*00402*000190806*0*P*>~
GS*IC*APL*APL*040609*1135*13*X*004020~
ST*418*130001~
BAX*FCY111*T*139*040511*1328*SPTRLHA309**IN*040511*2115*05~
W1*APL~
W2*RCA*11*RR*L*135BNSF*****1*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*RCB*11*RR*L*135BNSF*****2*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*RCC*11*RR*L*135BNSF*****3*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*RCA*33*RR*L*135BNSF*****3*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*CTRA*11*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRB*11*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRC*11*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*RCB*33*RR*L*99*******3*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*CTRA*33*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRB*33*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
PER*HM*MAERSK INC*TE*3523233500~
W2*RCC*33*RR*L*99*******3*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*CTRC*22*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRC*33*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
PER*HM*MAERSK INC*TE*3523233500~
SE*79*130001~
GE*5*211621~
IEA*1*000190806~
ANSI 418 Inbound Rail Consist EDI with message function as A for a different train visit
ISA*00* *00* *ZZ* *ZZ* *070607*0310*U*00402*000190806*0*P*>~
GS*IC*APL*APL*040609*1135*13*X*004020~
ST*418*130001~
BAX*FCY111*T*139*040511*1328*SPTRLHA309**IN*040511*2115*02~
W1*APL~
W2*RCB*11*RR*L*135BNSF*****1*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*RCB*22*RR*L*135BNSF*****2*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*RCB*33*RR*L*135BNSF*****3*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*CTRB*11*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRB*22*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*RCB*44*RR*L*135BNSF*****4*2ST~
W3**040507*APL*LA HARB*CA~
W4*APL***BARBOURS*TX~
W6*IB~
W2*CTRB*33*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
W2*CTRB*44*4950130*CN*L*8*APL*******1B1*2000~
W3*570315*040506*MAERSK*LA HARB*CA~
W4*APL*APL*35101*BARBOURS*TX~
W5*BNSF~
REF*BN*BKMA280300~
LS*0800~
LH1*PL*11*4*1111111*KG*1111**cylinder~
LH2*6.2*P*2*NONE~
LH3*VEHICLE, FLAMMABLE LIQUID*D~
LE*0800~
PER*HM*MAERSK INC*TE*3523233500~
SE*79*130001~
GE*5*211621~
IEA*1*000190806~